/*
 *    Copyright 2022 CManLH
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package com.lifeonwalden.ms.web.view;

import java.io.Serializable;
import java.nio.charset.Charset;

public class HtmlView implements Serializable {
    private static final long serialVersionUID = -8421405654396437426L;

    private Charset charset;

    private String path;

    private Object dataModel;

    public Charset getCharset() {
        return charset;
    }

    public HtmlView setCharset(Charset charset) {
        this.charset = charset;
        return this;
    }

    public String getPath() {
        return path;
    }

    public HtmlView setPath(String path) {
        this.path = path;
        return this;
    }

    public Object getDataModel() {
        return dataModel;
    }

    public HtmlView setDataModel(Object dataModel) {
        this.dataModel = dataModel;
        return this;
    }
}
